package com.xh.clean.core.common.constant.dictmap;

import com.xh.clean.core.common.constant.dictmap.base.AbstractDictMap;
import com.xh.clean.core.common.constant.dictmap.base.AbstractDictMap;

/**
 * 巡视记录日志字典
 *
 * @author 杨杰
 * @create 2018-06-27 20:37
 **/
public class PatrolDict extends AbstractDictMap {
    @Override
    public void init() {
        put("remark","巡视结果");
        put("storeyId","办公楼");
        put("type","巡视区域类型");
        put("pareaId","巡视区域");
        put("patrolId","巡视记录ID");
    }

    @Override
    protected void initBeWrapped() {
        putFieldWrapperMethodName("storeyId","getStoreyNameById");
        putFieldWrapperMethodName("type","getDictName");
        putFieldWrapperMethodName("pareaId","getPatrolAreaNameById");
    }
}
